package com.ssy.lingxi.member.merchant.model.vo.basic.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 根据会员类型和角色Id查询等级接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-08-27
 */
public class MemberTypeAndRoleIdVO implements Serializable {
    private static final long serialVersionUID = -94628827214966987L;

    /**
     * 会员类型Id
     */
    @NotNull(message = "会员类型Id要大于0")
    @Positive(message = "会员类型Id要大于0")
    private Long memberTypeId;

    /**
     * 角色Id
     */
    @NotNull(message = "角色类型Id要大于0")
    @Positive(message = "角色类型Id要大于0")
    private Long roleId;

    public Long getMemberTypeId() {
        return memberTypeId;
    }

    public void setMemberTypeId(Long memberTypeId) {
        this.memberTypeId = memberTypeId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
}
